@extends('public.dashboard_base')
@section('title', '账户资料')

@section('content')
    @php
        $user =auth('admin')->user();
    @endphp
    <div class="control_panel_content">
        <div class="navBreadcrumb">
            <ul>
                <li>账户管理</li>
                <li>账户资料</li>
            </ul>
        </div>
        <div class="panel">
            <div class="sub_nav_container">
                <ul class="clearfix">
                    <li class="active"><a href="javascript:;">账户资料</a></li>
                </ul>
            </div>
            <table class="table_style tpl_detail_table">
                <tbody>
                <!--<tr>-->
                <!--<td>头像</td>-->
                <!--<td>-->
                <!--<div style="width: 50px;margin: 15px 0;height: 50px;line-height: 50px;background: #fe7300;color: #fff; text-align: center;border-radius: 100%">-->
                <!--<i class="iconfont iconyonghu1" style="font-size: 30px"></i>-->
                <!--</div>-->
                <!--</td>-->
                <!--</tr>-->
                <tr>
                    <td>邮箱</td>
                    <td>{{$user->email}}</td>
                </tr>
                <tr>
                    <td>余额</td>
                    <td>{{$user->cash}}</td>
                </tr>
                <tr>
                    <td>QQ</td>
                    <td>{{$user->qq}}</td>
                </tr>
                <tr>
                    <td>微信</td>
                    <td>{{$user->wechat}} </td>
                </tr>
                <tr>
                    <td>最后登录IP</td>
                    <td>{{$user->last_ip}} </td>
                </tr>
                <tr>
                    <td>最后登录时间</td>
                    <td>{{$user->last_login}} </td>
                </tr>
                <tr>
                    <td>加入时间</td>
                    <td>{{$user->created_at}} </td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
@endsection
@section('script')
    <script>
        $(function () {
            var link=  $("#account-info");
            link.parent().parent().parent().addClass("active");
            link.parent().addClass("active");
        });
    </script>
    @endsection
